package cn.texous.demo.dnw.sms;

import cn.texous.demo.dss.handler.SmsHandler;
import cn.texous.demo.dss.model.SendInfo;
import cn.texous.demo.dss.model.SendResult;
import org.springframework.stereotype.Component;

/**
 * insert description here
 *
 * @author Showa.L
 * @since 2019/8/23 11:40
 */
@Component
public class TestSmsHandler implements SmsHandler {

    @Override
    public SendResult send(SendInfo sendInfo) {
        System.out.println("test sms handler action");
        return new SendResult();
    }

    @Override
    public String channel() {
        return "test";
    }

    @Override
    public boolean init() {
        return true;
    }

    @Override
    public int order() {
        return 0;
    }
}
